package com.zx.notification.producer;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;

/**
 * <p>
 * description:  <br>
 * create: 2025-10-13 17:59
 * </p>
 *
 * @author zhou  xun
 */
@EnableFeignClients(basePackages = "com.zx.feign.client")
@SpringBootApplication
@EnableDiscoveryClient
@ComponentScan(basePackages = "com.zx")//指定组件扫描的基础包路径
@MapperScan(basePackages = "com.zx.notification.common.dao")
public class NotificationProducerApplication {
    public static void main(String[] args) {
        SpringApplication.run(NotificationProducerApplication.class, args);
    }
}
